home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / EasyPLUGINs / Install_English < prev   
Encoding:
Text File  |  1998-03-22  |  2.9 KB  |  116 lines

  1. ;
  2. ;   $VER: Install_EasyPLUGINs (English) 1.5 (20.2.98)
  3. ;
  4.  
  5. (complete 0)
  6.  
  7. ; set language strings
  8.  
  9. (set #MODULES_PROMPT "Install the EasyPLUGINs modules?")
  10. (set #MODULES_HELP   "I guess you want to install these, otherwise you wouldn't be running the install script :)")
  11.  
  12. (set #DEST_PROMPT    "Choose the path where the source code and documentation will be installed. If the EasyPLUGINs directory does not exist, it will be created.")
  13.  
  14. (set #GUIDE_PROMPT   "Install the main EasyPLUGINs documentation?")
  15. (set #GUIDE_HELP     "You should probably read this.")
  16.  
  17. (set #DOCS_PROMPT    "Install the documentation for the PLUGINs?")
  18. (set #DOCS_HELP      "You should probably read these.")
  19.  
  20. (set #SOURCE_PROMPT  "Install the source code to the EasyPLUGINs modules?")
  21. (set #SOURCE_HELP    "You might want to modify these - read the documentation for the conditions of use.")
  22.  
  23. (set #EXAMP_PROMPT   "Install the EasyPLUGINs example source code?")
  24. (set #EXAMP_HELP     "Extremely recommended.")
  25.  
  26. (set #BIN_PROMPT     "Install support utilities for EasyPLUGINs programmers?")
  27. (set #BIN_HELP       "You should install these if you are likely to be programming further PLUGINs in EasyPLUGINs Style Guide format.")
  28.  
  29.  
  30. ; copy the modules to EModules:
  31.  
  32. (copyfiles (prompt #MODULES_PROMPT)
  33.            (source "modules/")
  34.            (all)
  35.            (dest   "EModules:EasyPLUGINs")
  36.            (confirm)
  37.            (help   #MODULES_HELP)
  38. )
  39.  
  40. (complete 10)
  41.  
  42. ; get the installation directory
  43.  
  44. (set #DESTINATION
  45.           (askdir (prompt  #DEST_PROMPT)
  46.                   (help    @default-help)
  47.                   (default @default-dest)
  48.           )
  49. )
  50.  
  51. (complete 15)
  52.  
  53. ; Find/make main directory, install main .guide
  54.  
  55. (set #DEST_MAIN     (tackon #DESTINATION "EasyPLUGINs"))
  56.  
  57. (copyfiles (prompt  #GUIDE_PROMPT)
  58.            (source  "EasyPLUGINs.guide")
  59.            (dest    #DEST_MAIN)
  60.            (infos)
  61.            (confirm)
  62.            (help    #GUIDE_HELP)
  63. )
  64.  
  65. (complete 35)
  66.  
  67. ; install the documentation for the PLUGINs
  68.  
  69. (copyfiles (prompt  #DOCS_PROMPT)
  70.            (source  "docs")
  71.            (all)
  72.            (dest    (tackon #DEST_MAIN   "docs"))
  73.            (confirm)
  74.            (help    #DOCS_HELP)
  75. )
  76.  
  77. (complete 50)
  78.  
  79. ; install the sources of the PLUGINs
  80.  
  81. (copyfiles (prompt  #SOURCE_PROMPT)
  82.            (source "source")
  83.            (all)
  84.            (dest    (tackon #DEST_MAIN   "source"))
  85.            (confirm)
  86.            (help    #SOURCE_HELP)
  87. )
  88.  
  89. (complete 70)
  90.  
  91. ; install the program(s) in the /bin directory
  92.  
  93. (copyfiles (prompt  #BIN_PROMPT)
  94.            (source "bin")
  95.            (all)
  96.            (dest    (tackon #DEST_MAIN   "bin"))
  97.            (confirm)
  98.            (help    #BIN_HELP)
  99. )
  100.  
  101. (complete 75)
  102.  
  103. ; install the examples for the PLUGINs
  104.  
  105. (copyfiles (prompt  #EXAMP_PROMPT)
  106.            (source  "examples")
  107.            (all)
  108.            (dest    (tackon #DEST_MAIN   "examples"))
  109.            (confirm)
  110.            (help    #EXAMP_HELP)
  111. )
  112.  
  113. (complete 100)
  114. (exit)
  115.  
  116.